package com.echo.code.demo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by baiyp on 2019/05/15.
 */
@Configuration
@ComponentScan(value = "com.echo.code.demo")
public class SpringConfig {

    @Bean
    public Log4jExample log4j() {
        return new Log4jExample();
    }
}
